import { DisplayApi } from './display.api'

import { App } from '../../app'
import { ServiceBase, presetErr, commonErr } from 'koacat'

export class Display extends ServiceBase<DisplayApi> {
  constructor(app: App) {
    super('display')

    const api = new DisplayApi(app)
    api.attachApisToRouter(app.router)
    this.api = api

  }

}